//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-04B
TN_Widget.CreateTable([['Local Natives','The Jones Assembly','Oklahoma City, OK','Wednesday','5/8/2024','6:30 PM','6265052','Local-Natives-5-8-2024'],['Local Natives','JJ's Live','Fayetteville, AR','Thursday','5/9/2024','8:00 PM','6265610','Local-Natives-5-9-2024'],['Local Natives','The Blue Note - MO','Columbia, MO','Friday','5/10/2024','8:00 PM','6265607','Local-Natives-5-10-2024'],['Local Natives','Mercury Ballroom','Louisville, KY','Saturday','5/11/2024','8:00 PM','6265608','Local-Natives-5-11-2024'],['Local Natives','The Admiral - Omaha','Omaha, NE','Tuesday','5/14/2024','8:00 PM','6251083','Local-Natives-5-14-2024'],['Local Natives','The Truman - Kansas City','Kansas City, MO','Wednesday','5/15/2024','8:00 PM','6265609','Local-Natives-5-15-2024'],['Local Natives','Boulder Theater','Boulder, CO','Friday','5/17/2024','8:00 PM','6265612','Local-Natives-5-17-2024'],['Local Natives','Belly Up Aspen','Aspen, CO','Saturday','5/18/2024','8:30 PM','6269606','Local-Natives-5-18-2024'],['Local Natives','House Of Blues - Las Vegas','Las Vegas, NV','Monday','5/20/2024','8:00 PM','6265611','Local-Natives-5-20-2024'],['Local Natives','Rialto Theatre - Tucson','Tucson, AZ','Tuesday','5/21/2024','8:00 PM','6267041','Local-Natives-5-21-2024'],['Local Natives','The Catalyst','Santa Cruz, CA','Thursday','5/23/2024','8:00 PM','6265053','Local-Natives-5-23-2024'],['Local Natives','Tannahill's Tavern and Music Hall','Fort Worth, TX','Wednesday','11/6/2024','8:00 PM','6415204','Local-Natives-11-6-2024'],['Local Natives','The Aztec Theatre ','San Antonio, TX','Thursday','11/7/2024','8:00 PM','6415201','Local-Natives-11-7-2024'],['Local Natives','White Oak Music Hall - Downstairs','Houston, TX','Friday','11/8/2024','7:00 PM','6416001','Local-Natives-11-8-2024'],['Local Natives','The Joy Theater','New Orleans, LA','Saturday','11/9/2024','8:00 PM','6415642','Local-Natives-11-9-2024'],['Local Natives','The Plaza Live','Orlando, FL','Monday','11/11/2024','8:00 PM','6415198','Local-Natives-11-11-2024'],['Local Natives','Revolution Live','Fort Lauderdale, FL','Tuesday','11/12/2024','8:00 PM','6415194','Local-Natives-11-12-2024'],['Local Natives','Charleston Music Hall','Charleston, SC','Thursday','11/14/2024','8:00 PM','6415197','Local-Natives-11-14-2024'],['Local Natives','The Fillmore - Charlotte','Charlotte, NC','Friday','11/15/2024','8:00 PM','6415199','Local-Natives-11-15-2024'],['Local Natives','The Ritz - Raleigh','Raleigh, NC','Saturday','11/16/2024','8:00 PM','6415196','Local-Natives-11-16-2024'],['Local Natives','The Norva','Norfolk, VA','Sunday','11/17/2024','7:30 PM','6415193','Local-Natives-11-17-2024'],['Local Natives','College Street Music Hall','New Haven, CT','Tuesday','11/19/2024','8:00 PM','6415056','Local-Natives-11-19-2024'],['Local Natives','Danforth Music Hall Theatre','Toronto, Canada','Thursday','11/21/2024','7:00 PM','6415208','Local-Natives-11-21-2024'],['Local Natives','Intersection','Grand Rapids, MI','Friday','11/22/2024','8:00 PM','6415589','Local-Natives-11-22-2024'],['Local Natives','The Sylvee - WI','Madison, WI','Saturday','11/23/2024','8:00 PM','6415202','Local-Natives-11-23-2024']],'Local Natives','http://www.ticketnetwork.com/ticket/Local-Natives-events.aspx');